<?php
$linkLogOut = $this->baseUrl('/default/public/logout') ;
if($this->arrParam['controller']=="developer-production"){
	$linkLogOut = $this->baseUrl('/frontend/developer/login') ;

}
?>
<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php echo $this->headTitle() ?>
<?php echo $this->headMeta() ?>
<?php echo $this->headLink() ?>
<?php echo $this->headScript() ?>
</head>
<body id="minwidth-body">

	<div id="border-top" class="h_green">
		<div>
			<div>
				<span class="version" >xin chao : <?php echo $this->infoUser['user_name']?> </span>
				<span class="title" style="padding-left: 20px">FOIT CMS</span>
			</div>
		</div>
	</div>
	<div id="header-box">
		<div id="module-status">
			<span class="preview"> <a target="_blank" href="#">Preview</a> </span>
			<a href="#"> <span class="no-unread-messages">0</span> </a> <span
				class="loggedin-users">1</span> <span class="logout"> <a
				href="<?php echo $linkLogOut ;?>">Logout</a> </span>
		</div>
		<div id="module-menu">

			<!-- BEGIN: Menu -->
			<ul class="menuTiny" id="menuTiny">
				<li><a href="#" class="menuTinyLink">Main</a>
					<ul>
						<li><a
							href="<?php echo $this->baseUrl('/frontend/index/index/');?>">Front
								End</a></li>
						<li><a
							href="<?php echo $this->baseUrl('/default/admin/index/');?>">Back
								End</a></li>

					</ul>
				</li>
				<li><a href="#" class="menuTinyLink">Member</a>
					<ul>
						<li><a
							href="<?php echo $this->baseUrl('/default/admin-group/index/');?>">Group
								manager</a></li>
						<li><a
							href="<?php echo $this->baseUrl('/default/admin-user/index/');?>">User
								manager</a></li>
						<li><a
							href="#">Permission</a>
						</li>
					</ul>
				</li>
			</ul>

			<script type="text/javascript">
                    var menu=new menu.dd("menu");
                    menu.init("menuTiny","menuTinyHover");
                </script>
			<!-- END: Menu -->

		</div>
		<div class="clr"></div>
	</div>